Skip to content

[Snyk] Security upgrade pyasn1 from 0.5.1 to 0.6.5 - #13

Open
noom-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-afa5b9bb3845998b4fb841d88e263a1a
Open

noom-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-afa5b9bb3845998b4fb841d88e263a1a

Conversation

@noom-snyk-bot

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • samples/snippets/requirements.txt

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@noom-snyk-bot

Copy link
Copy Markdown
Author

Merge Risk: Medium

This upgrade of pyasn1 crosses a minor version boundary and introduces a significant environment change along with important security-related behavioral fixes.

Key Changes:

  • Python Version Support: Support for Python versions older than 3.8 has been dropped starting with pyasn1 version 0.6.0.
  • Security and Performance Fixes: Versions 0.6.4 and 0.6.5 include crucial security fixes to address denial-of-service vulnerabilities. These changes fix excessive CPU and memory consumption when decoding crafted ASN.1 data containing specific REAL, OBJECT IDENTIFIER, or RELATIVE-OID types. While these are bug fixes, they alter the decoding behavior for malformed inputs.

Recommendation:
Ensure your production environment is running Python 3.8 or newer. While no direct API breaking changes are noted for typical usage, the security fixes change how invalid or malicious data is handled, which could affect applications that process untrusted ASN.1 data.

Source: pyasn1 Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants